package org.zhongyin.ARXModel;

import java.io.IOException;
import java.text.ParseException;


/**
 * 
 * @author ZhongYin Zhang
 *
 */

public interface IARXModel {
	
	/**
	 * Get data from database and set them as history data. This method includes the 
	 * error tolerant
	 * @throws ParseException
	 * @throws IOException
	 */
	public void setHistdata() throws ParseException, IOException;
	
	
	/**
	 * Get data from database and set them as future data. This method includes the 
	 * error tolerant
	 * @throws ParseException
	 * @throws IOException
	 */
	public void setForecastData() throws ParseException, IOException;

	/**
	 * Data structure of ARXModel for X
	 * 
	 */
	public double[][] getARXmodel_X();

	
	/**
	 * Data structure of ARXModel for Y
	 */
	public double[] getARXmodel_Y();
	
}
